﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin_panel/Admin.master" AutoEventWireup="true" CodeFile="ThongtinGioiThieu.aspx.cs" Inherits="Admin_panel_ThongtinGioiThieu" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Shortcut" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="udt" runat="server">
        <ContentTemplate>
            <title>Quản lý giới thiệu</title>
            <style type="text/css">
                .x_handle {
                    color: blue;
                    cursor: pointer;
                }
            </style>

            <div class="content-box">
                <!-- Start Content Box -->
                <div class="content-box-header">

                    <h3>
                        <img src="images/icons/pencil_48.png" width="16" height="16" />Quản lý bài viết giới thiệu </h3>

                    <ul class="content-box-tabs">

                        <li><a href="#tab3" class="default-tab">Thêm bài viết giới thiệu</a></li>

                    </ul>

                    <div class="clear"></div>

                </div>
                <!-- End .content-box-header -->

                <div class="content-box-content">


                    <!--begin #tab3_them bai viet huong dan-->

                    <div class="tab-content default-tab" id="tab3">




                        <p>
                            <label>Vị trí hiển thị &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</label>
                            <asp:DropDownList ID="drop_vitri" AutoPostBack="true" class="text-input small-input" runat="server" OnSelectedIndexChanged="drop_vitri_SelectedIndexChanged">
                                <asp:ListItem Selected="True">Trang chủ</asp:ListItem>
                                <asp:ListItem>Trang cơ quan nhà nước</asp:ListItem>
                            </asp:DropDownList>&nbsp;
                     <asp:Label ID="Label1" runat="server"></asp:Label>
                        </p>




                        <br />
                        <p>
                            <label>Tiêu đề bài viết giới thiệu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</label><asp:TextBox class="text-input medium-input" ID="txttieude" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txttieude" ErrorMessage="<span class='input-notification error png_bg'>Chưa nhập tiêu đề bài viết!</span>"></asp:RequiredFieldValidator>
                        </p>
                        <br />
                        <label>Nội dung bài viết giới thiệu</label>


                        <FCKeditorV2:FCKeditor ID="FCK_huongdan" runat="server" Height="600px"></FCKeditorV2:FCKeditor>

                        <p>
                            <asp:Button class="button" ID="btnDangGT" runat="server" Text="Đăng bài" OnClientClick="kiemtranhaprong(this)" OnClick="btnDangGT_Click" />
                            <asp:Label ID="lblstatus" runat="server"></asp:Label>
                        </p>



                        <div class="clear"></div>
                        <!-- End .clear -->


                    </div>
                    <!-- End #tab3_viet bai gioi thieu -->

                </div>
                <!-- End .content-box-content -->
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

